package com.wcity.manage.dao.model;

import com.wcity.manage.dao.dal.model.AbstractModel;

import java.util.Date;

/**
 * 小区物业组成管理模块
 * Created by zm on 2016/12/10.
 */
public class Property extends AbstractModel {

    private static final long serialVersionUID = 677120007631888594L;

    private int      id;
    private String   proBlockName;                   //小区名称
    private String   proFeeType;                     //物业费类型
    private String   proRemark;                      //备注
    private Date     createTime;                     //创建时间
    private int      userId;                         //物业管理员id
    private String[] proFeeTypes;                    //物业费类型数组
    private int      blockId;                        //小区id


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProBlockName() {
        return proBlockName;
    }

    public void setProBlockName(String proBlockName) {
        this.proBlockName = proBlockName;
    }

    public String getProFeeType() {
        return proFeeType;
    }

    public void setProFeeType(String proFeeType) {
        this.proFeeType = proFeeType;
    }

    public String getProRemark() {
        return proRemark;
    }

    public void setProRemark(String proRemark) {
        this.proRemark = proRemark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String[] getProFeeTypes() {
        return this.proFeeType == null? null : this.proFeeType.split(",");
    }

    public int getBlockId() {
        return blockId;
    }

    public void setBlockId(int blockId) {
        this.blockId = blockId;
    }
}
